/*****************************************************************************************/
/* ECSE 426 - Microprocessor - Fall 2009
/* Lab Project - Includes control for PS/2 (Keyboard)
/* KEYBOARD.C
/* @author: Danny Wu - 260238209 - B.Comp.Eng
/* @author: Han-Sheng Chin - 260209715 - B.Elec.Eng
/* @author: Benoit Gravel - 260230976 - B.Comp.Eng
/* @author: Bradley Thompson - 2602XXXXX - B.Comp.Eng

/* @version: 11.11.1.48
/****************************************************************************************/



//Host Command Set constants
#define RESET 0xFF
#define RESEND 0xFE
#define SET_KEY_TYPE_MAKE 0xFD
#define SET_KEY_TYPE_MAKE_BREAK 0xFC
#define SET_KEY_TYPE_TYPEMATIC 0xFB
#define SET_ALL_KEYS_TYPEMATIC_MAKE_BREAK 0xFA
#define SET_ALL_KEYS_MAKE 0xF9
#define SET_ALL_KEYS_MAKE_BREAK 0xF8
#define SET_ALL_KEYS_TYPEMATIC 0xF7
#define SET_DEFAULT 0xF6
#define DISABLE 0xF5
#define ENABLE 0xF4
#define SET_TYPEMATIC_RATE_DELAY 0xF3  //FOLLOWED BY ARGUMENTS
#define READ_ID 0xF2
#define SET_SCAN_CODE_SET 0xF0 //FOLLOWED BY 0X01,0X02,or0X03 AFTER KEYBOARD ACK
#define ECHO 0xEE
#define SET_RESET_LEDS 0xED //FOLLOWED BY ONE BYTE ARG: 00000[CAPS][NUM][SCROLL]  0(OFF)/1(ON)
